package yztc.com.shiyuanbaoyou;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

/**
 * Created by My on 2016/9/25.
 */
public class LoginActivity extends Activity {
    private TextView tv_zhuce;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        tv_zhuce= (TextView) findViewById(R.id.tv_zhuce);
        init();
    }

    private void init() {
        tv_zhuce.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(LoginActivity.this,ZhuCeActivity.class);
                startActivity(intent);
            }
        });
    }
    public void click(View view){
        switch (view.getId()){
            case R.id.btn_back_login:
                finish();
        }
    }
}
